﻿CREATE TABLE [dbo].[BatchExpressWaybillInfo] (
    [BatchID]        BIGINT           IDENTITY (10001, 1) NOT NULL,
    [WaybillType]    INT              NOT NULL,
    [Count]          INT              NOT NULL,
    [OperationType]  TINYINT          NOT NULL,
    [CreateTime]     DATETIME         NOT NULL,
    [CreateManageID] INT              NULL,
    [CreateUserID]   UNIQUEIDENTIFIER NULL,
    CONSTRAINT [PK_BATCHEXPRESSWAYBILLINFO] PRIMARY KEY CLUSTERED ([BatchID] ASC)
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'用户标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillInfo', @level2type = N'COLUMN', @level2name = N'CreateUserID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'管理员标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillInfo', @level2type = N'COLUMN', @level2name = N'CreateManageID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'添加时间/购买时间', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillInfo', @level2type = N'COLUMN', @level2name = N'CreateTime';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'操作类型 10：导入；20：购买', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillInfo', @level2type = N'COLUMN', @level2name = N'OperationType';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'数量', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillInfo', @level2type = N'COLUMN', @level2name = N'Count';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'单号种类', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillInfo', @level2type = N'COLUMN', @level2name = N'WaybillType';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'批量标识', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillInfo', @level2type = N'COLUMN', @level2name = N'BatchID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'批量快递单号信息', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'BatchExpressWaybillInfo';

